export const citys = [
    {"position":[108.378016,30.704721],"name":"万州","cityCode":500101},
    {"position":[107.342136,29.663836],"name":"涪陵","cityCode":500102},
    {"position":[106.437868,29.82543],"name":"北碚","cityCode":500109},
    {"position":[106.758542,28.829958],"name":"綦江","cityCode":500110},
    {"position":[105.715319,29.700498],"name":"大足","cityCode":500111},
    {"position":[106.735182,29.804553],"name":"渝北","cityCode":500112},
    {"position":[106.754597,29.349411],"name":"巴南","cityCode":500113},
    {"position":[108.744286,29.39786],"name":"黔江","cityCode":500114},
    {"position":[107.106437,29.964565],"name":"长寿","cityCode":500115},
    {"position":[106.210102,29.070578],"name":"江津","cityCode":500116},
    {"position":[106.299001,30.085055],"name":"合川","cityCode":500117},
    {"position":[105.894714,29.348748],"name":"永川","cityCode":500118},
    {"position":[107.098153,29.156646],"name":"南川","cityCode":500119},
    {"position":[106.231126,29.593581],"name":"璧山","cityCode":500120},
    {"position":[106.054948,29.839944],"name":"铜梁","cityCode":500151},
    {"position":[105.841818,30.189554],"name":"潼南","cityCode":500152},
    {"position":[105.594061,29.403627],"name":"荣昌","cityCode":500153},
    {"position":[108.402576,31.303128],"name":"开州","cityCode":500154},
    {"position":[107.670691,30.652978],"name":"梁平","cityCode":500155},
    {"position":[107.75655,29.32376],"name":"武隆","cityCode":500156},
    {"position":[108.6649,31.946293],"name":"城口","cityCode":500229},
    {"position":[107.820148,29.862817],"name":"丰都","cityCode":500230},
    {"position":[107.459943,30.281811],"name":"垫江","cityCode":500231},
    {"position":[107.849048,30.315406],"name":"忠县","cityCode":500233},
    {"position":[108.855391,31.003476],"name":"云阳","cityCode":500235},
    {"position":[109.465774,31.019967],"name":"奉节","cityCode":500236},
    {"position":[109.878928,31.074843],"name":"巫山","cityCode":500237},
    {"position":[109.377348,31.495934],"name":"巫溪","cityCode":500237},
    {"position":[108.315395,29.990703],"name":"石柱","cityCode":500240},
    {"position":[108.996043,28.444772],"name":"秀山","cityCode":500241},
    {"position":[108.767201,28.839828],"name":"酉阳","cityCode":500242},
    {"position":[108.166551,29.293856],"name":"彭水","cityCode":500243}
];
export const citys2 = [
  {"position":[106.662622,29.519615],"name":"南岸","cityCode":500108},
  {"position":[106.706746,29.612567],"name":"江北","cityCode":500105},
  {"position":[106.447856,29.393768],"name":"大渡口","cityCode":500104},
  {"position":[106.365625,29.447546],"name":"九龙坡","cityCode":500107},
  {"position":[106.56288,29.556742],"name":"渝中","cityCode":500103},
  {"position":[106.371774,29.609717],"name":"沙坪坝","cityCode":500106},
]
export const citys3 = [

]


// function showCityName() {
//     for (let i = 0; i < citys.length; i++) {
//         const text = new AMap.Text({
//             text: citys[i].name,
//             anchor: 'center', // 设置文本标记锚点
//             cursor: 'pointer',
//             style: {
//                 'padding': '2px 5px',
//                 'margin-bottom': '1rem',
//                 'border-radius': '.25rem',
//                 'background-color': 'white',
//                 'border-width': 0,
//                 'box-shadow': '0 2px 6px 0 rgba(114, 124, 245, .5)',
//                 'text-align': 'center',
//                 'font-size': '14px',
//                 'color': 'blue'
//             },
//             position: citys[i].position
//         });
//         text.setMap(that.map);
//     }
// }
